home *** CD-ROM | disk | FTP | other *** search
/ EnigmA Amiga Run 1996 March / EnigmA AMIGA RUN 05 (1996)(G.R. Edizioni)(IT)[!][issue 1996-03][Skylink CD IV].iso / earcd / program / wb2argv.lha / WB2Argv.h < prev    next >
C/C++ Source or Header  |  1996-02-04  |  1KB  |  50 lines

  1. /*
  2.  *  WB2Argv v1.2, Amiga Workbench argv/argc emulation routines.
  3.  *  Copyright (C) 1995-96 Jens T. Berger Thielemann
  4.  *
  5.  *  This program is free software; you can redistribute it and/or modify
  6.  *  it under the terms of the GNU General Public License as published by
  7.  *  the Free Software Foundation; either version 2 of the License, or
  8.  *  (at your option) any later version.
  9.  *
  10.  *  This program is distributed in the hope that it will be useful,
  11.  *  but WITHOUT ANY WARRANTY; without even the implied warranty of
  12.  *  MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
  13.  *  GNU General Public License for more details.
  14.  *
  15.  *  You should have received a copy of the GNU General Public License
  16.  *  along with this program; if not, write to the Free Software
  17.  *  Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA.
  18.  *
  19.  *  Contact the author at:
  20.  *        Jens Berger
  21.  *        Spektrumvn. 4
  22.  *        N-0666 Oslo
  23.  *        Norway
  24.  *        E-mail: <jensthi@ifi.uio.no>
  25.  *
  26.  *
  27.  */
  28.  
  29. /*
  30.  * These bits are intended for the WB2Argv Flags arg.
  31.  *
  32.  */
  33.  
  34. /* Make all options lower case. */
  35. #define    W2A_LOWER            0
  36.  
  37. /* Make all options upper case. */
  38. #define    W2A_UPPER            1
  39.  
  40. /* Keep case of all options. */
  41. #define    W2A_KEEPCASE        2
  42.  
  43. #define W2A_CASEMASK        3
  44.  
  45.  
  46.  
  47. char **WB2Argv(struct WBStartup *WBMsg, LONGBITS Flags);
  48. ULONG CountArgv(const char **argv);
  49.  
  50.